package com.hex.ds.hdtp.core.inf.dqc.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName(value = "tm_dqc_task")
public class DqcTaskPo {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField("system_name")
    private String systemName;

    @TableField("source_conn_pk_id")
    private String sourceConnPkId;

    @TableField("schema_name")
    private String schemaName;

    @TableField("table_name")
    private String tableName;

    @TableField("table_comment")
    private String tableComment;

    @TableField("is_rule")
    private Boolean isRule;

    @TableField("job_name")
    private String jobName;

    @TableField("data_link")
    private String dataLink;

    @TableField("run_mode")
    private String runMode;

    @TableField("rule_type")
    private String ruleType;

    @TableField("expected_time")
    private String expectedTime;

    @TableField("inspect_condition")
    private String inspectCondition;

    @TableField("inspect_frequency")
    private String inspectFrequency;

    @TableField("alarm_start_date")
    private String alarmStartDate;

    @TableField("threshold_comparison_mode")
    private String thresholdComparisonMode;

    @TableField("threshold_max")
    private Double thresholdMax;

    @TableField("threshold_min")
    private Double thresholdMin;

    @TableField("send_rank")
    private String sendRank;

    @TableField(value = "crt_user", fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name", fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts", fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user", fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name", fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts", fill = FieldFill.INSERT_UPDATE)
    private String upTs;

}
